info = {}
while True:
    name = input('请输入名称：')
    if name.upper() == 'Q':
        break
    pwd = input('密码:')

    info['username'] = name
    info['password'] = pwd
print(info)
